fix for images with null-width