shouldSkipUngrabMouse

Called by the Minecraft Mixin to determine whether the cursor should be ungrabbed for the gui.