set initial z-index on avatar