Revert viewport changes