Fixed content disappearing animation bug