Fix missing resetPosition on refresh