Fix old viewPort reference