Merge "Fix mPreviouslyPresentedLayerStacks leak for bufferless layers" into main