fix viewport centering bug