fork z-index bug fix