Bugfix setting transitionDuration