Bugfixing of zorder