fdo#81182: Resizing glTF window affects camera position

Camera moves by click and drag, with checking the last mouse
position we can make sure click was done inside the window
before drag.
Resizing can trigger drag event, but not click event.

(cherry picked from commit 51ba2df1cb29d4343f92174da6dc8f36ba9152eb)

Conflicts:
	avmedia/source/opengl/oglwindow.cxx

Change-Id: I9e8b70fcb4a0abf26e76e03cafd026f940eceb10
Reviewed-on: https://gerrit.libreoffice.org/10353
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>