fix updateViews takes z-index into account