Re-implemented mouse events