Replaced viewport-moving functions.