Add zindex property to items