back ported HMD support