Fix bug with CSS 3D dragging.