Fixed regression in d3d_set_hidden.