Added mouseListener to track mouse events and current mouse location