Loading is deferred until the first render so that it has a chance of happening in the proper graphics context.