Fixed rightclick event