Preserve relative z layer info when moving layers offscreen
am: da9c85a1b4

Change-Id: If0d2f8f2e5a5477fce295a0d519567a17cafd4b1