Moved graphics into render.