Fix latched cvars not being written immediately