Fix problem with dragging images within TW5

Dragging an image within the same TW5 window was causing a crash