Fixing weird bug when using Oculus Rift in Direct mode