improving cursor edge recognition in game mode