Fix drag and drop, and resize issues when zooming