repair recent glitch in h3d-gridbox compile option