qt seems to handle mousemove events only when a mouse button is pressed