Fix case statement bug for transition easing