Fix resize scroll preservation