Fix setting z value issue in Layout

No match.