Fixed PlayerSensor in region mode not obeying p or g flags.