Added handling for right mouse button