Changed the rendering order of TabSheet tabs to prevent an NPE in isClipped (#12343)

Change-Id: Ife96ff3fe0c3f9c8926cf96eab4f5dfca99e925e