fixed z-index bug with inventory