anchor.diff:  
     //Prevent the game window from being in the way by minimizing when alt-tabbing
     if (fMainSettings <> nil) and fMainSettings.FullScreen then
  +  begin
  +    ClipCursor(nil); //Remove all cursor clipping just in case Windows doesn't automatically
       Application.Minimize;
  +  end;
   end;
   
   
  
positive.code: end;
  
  
  procedure TKMMain.DoDeactivate(Sender: TObject);
  begin
    //Occurs during Toggle to fullscreen, should be ignored
  
negative.code: procedure TKMMain.ApplyCursorRestriction;
  var Rect: TRect;
  begin
    //This restriction is removed when alt-tabbing out, and added again when alt-tabbing back
    {$IFDEF MSWindows}
    if fMainSettings.FullScreen then
    begin
  