corrected viewport issue