Cursor focus fix in FirstMasterFrame