Initalize sandbox in render.