Added painting for transient state