Fixed select/erase issue
Merge branch 'refactor' of https://github.com/Zephoku/Whiteboard into refactor