Small fix to isTargeted to translate between mouse co-ordinates and pane co-ordinates so locations on
panes can be specified in relation to the origin of the pane but still recognise when the mouse co-ordinates
are pointing at them, despite being in relations to the windows origin.