fixed glViewport descrepiancy