fixed z-index issues when used in app that use z-index