Image manager cacheImage fix

ImageManager.cacheImage() did not cache. This should fix it.