Fixed compilation of viewport change for this branch