Add animation for preventing from showing awkward cornerRadius transition