fix off canvas events