Localization of fixed dipoles at high precision by accounting for sample drift during illumination