Attach the mouse to the view