updated renderers to use the change of zIndex