Your problem is not that canvas is selectable, but you are not telling the browser that you want the mouse to be used exclusively for your game.
In your handlers mousedown/ mouseup/ clickyou must run event.preventDefault()or return false.
You must do the same in keyboard events to avoid colliding with keyboard shortcuts.
source
share