Included workaround for error 'Image given has not completed loading' of canvas-library.