Z-index only works with absolute or relative elements