Fix bug in RenderDynamic constructor.