viewport reset fix