Test that calling scroll on the main frame's document element works with both scroll behaviors