[#6] Added proper null check in case gyroscope does not exist.