fixes stack animation