Ignore relative Z order if layer doesn't exist

We don't clean up the relatives in the hierarchy when a layer is
removed, thus, the value may be inconsistent.

Bug: 162500053
Test: build winscope and open a trace with split screen
Change-Id: Idb41ba29c478eb75659f5b186dbc70be6ca47de9
1 file changed