fix position not correct when scrollbar show after render