make sure that canvas event is working on each other