Fix focus problem in cursor.exe