No panning deceleration in automap when in menu

Or when game is paused. Also made a couple of minor optimizations to
grid drawing.