#390: account difference in viewports