Fix crash if non-player right-clicks entity