Fixed a small bugwith ImageLoader.