I think it has to do with how the game treats painted doors. When it becomes 1D (closed), it can only hold one color property per tile (and it's made of top, middle, and bottom tiles). When you open the door, it becomes 2D, and can only keep the properties that its 1D state possesses.
If you...