fix cursor focus