removed some testing code that was messing with cursor drawing