Bugfix for resetting transitions