modify Renderer::drawDynamic()