Added right click checking