Bugfix, fix reading image src from cache