revert HandleOSMouseVisibility