Added inHandler to the MouseListener