Shapes throw an error if specified image is not loaded yet.