Fixed resize of cached images