Prevent responsiveness testing iframe from flickering

This is a bit hacky in that the `before` callback isn't really something the system is set up for, but it works quite nice in practice.