sfml: Return an error for unsupported image formats in DrawRect.