viewportMode - legacy