Change rect to accept the canvas as an argument
Add default noops to the keypress multimethods