This is the more correct way to handle the mouse cursor hiding.