Use box-sizing model to avoid wrong offset