Update position faster on window resize