Fix for not being able to drag some map elements in the map.
Fix for depth of dragged objects being reset to 0.