Fixed a typo causing a crash on some devices.