Fixes a z-index bug