Fixed flickering on svg panning.