Fixes image cache issue