Fix aircraft losing selection outside the map borders

Fixes #5651