fixed improper z-indexing