fix new bug with transitioned elements on different layer with shader