fixed viewport problem