Improves tests on small viewports