Animation#perform throws exception with invalid transition type