Fix orientation sensor