Added clear context flag

Added clear context flag to Renderer.