only rerender anglaph image when needed.