Reset orientation in HMD mode when press R. Add firefox support.