as far as I remember @jmcanterafonseca and me added that for a flash effect repainting the curtain when it should be displayed