Start capturing mouse events