headerHeight needs to be passed to dummyHeader from the very start, on 2.3 the measured height is correct at that point