Improved error message for IO.loadImage
Fixed an error with some SVGs