Only record positions of modules that exist

Modules that don't exist don't have position, so that can mess up our
min and max calculations to position modules.