Fixes bug in submap refactor.

Forgot to multiply submap position by submap size.

Fixes #7196