Fixes #1 z-index bug