Fix building z-index issues. #394.