Fixed a bug causing a crash on the iPhone with Autoloaders.