fixed zorder inheritance