Take top layers into account in addLayers/removeLayers.
Created attachment 456942 [details] Patch
Committed r292596 (249429@main): <https://commits.webkit.org/249429@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 456942 [details].
<rdar://problem/91473389>