VID-1945 fixing bug with image class and lazy loading