Hide the cursor when the mouse pointer is hidden.