Avoid using PositionFirstComponent

The operation in GAP unfortunately is buggy (it has three methods installed, which unfortunately return inconsistent results when invoked on the same input). Thus we would like to deprecate (and eventually remove) this function. This pull request replaces its use in your package.