Fix cursor problem. I can sleep tonight.