Added angle correction to mouse events