added mouse adapter on canvas