Tangent lines circle doesn't work for all scenarios

Hi,

 

Not sure if I am doing something wrong here but the tangent line circle function doesn't seem to work for cirlces that are close together (where the center of the other circle is within the first circle). Is this something I'm doing wrong or a bug?

 

Thanks,

 

Alec