Catch CORS exceptions when loading icons

When an image load causes a CORS violation, it seems to raise an exception at the line that triggered the load, rather than firing an `error` event. This exception is not caught, and ends up aborting the entire render. This PR catches the exception when it occurs and treats it as an error, preventing CORS exceptions from breaking the render.