Spots IOP: legacy_params(): adapt for latest mask changes