Drag optimization

Avoid width() and height() calculation when dragging image.