Add missing declaration of cursorToY