Fix for not being able to drag some map elements in the map.