fix issue #15: map no longer scrolls off screen