Fixed offsetwidth issue