Scaling fix

Fixed some strange redrawing bugs when scaling the map
(zooming/withdrawing the perspective).