Update LossAnimation.scala