Limiting cases of Apollonius' problem