Fixed cursor
Fixes event name check