[R-393 x64] Curtains not saving correctly on Template

Can confirm this in r393 as well (it’s why I found the bug in the thread below).