A Probabilistic-based Drift Correction Module for Visual Inertial SLAMs