The bits being set in updateLayerPositions just don't work, since compositing states can change without triggering that function. This patch just gets rid of the bit and does a crawl every time to check. This ensures that changes in compositing states don't necessitate any changes in pagination, since the lookup will always check the current compositing state.
Created attachment 234768 [details] Patch
Fixed in r171074