Boundary-artifact-free Observation of Magnetic Materials Using the Transport of Intensity Equation