Resizing a map recenters from middle instead of top left