viewport update fix