Pane now handles rendering in the context via callback.