added mouse event handling to lf.canvas