Fix a bug that resizing cause chart to render prematurely
Timeline dot position finished.