fix z-indexing, remove emptyview