3D milling demo: fix vanishing grid bug (solution found by Sylfurd )