bug fix for svg images < 1024 bytes