fixes map recentering error