fixed bug with viewport panning in Renderer