cursor can be undefined
Merge pull request #7 from lukasvan3l/feature/cursorundefined

cursor can be undefined