Fix for removing focus when changing monitors