Fixing the destruction of the HMD by apps that don't use RiftApp as a base class