Fixed bug for updating mCurrentPosition