added preventDefault for mouse events for desktop (fix FF bug with resize-rotate)