Attention-Based Planning with Active Perception