Using mouse events to interact with objects drawn in the Canvas