Fixing bug where imagesettings cache wasn't being used