Border check implemented

The DraggableImage no longer allows the caption to be dragged off the screen.
TO-DO: Implement location saving.