fixes some z-index problems