Fix for URLs with width or height set to 0