fix bug to move map around