fixes for oculus support