Checks to see if the dock is being hovered by the mouse cursor.
the x coordinate of the pointer relative to the dock window
the y coordinate of the pointer relative to the dock window