Pass world state into the rendering handler via a port.