Adding bindings for canvas