fix animated layer z-index