Add mouse listener to work with scale