Tested getViewportSize.