In-plane field-effect correction in quantitative magneto-optical analysis