Fixed missing duration in render