Fix: delay setting style of transition