fix typo in correctPosition split out