Bug fix for images with Grunt