some viewport fixing