When you have headphones plugged in, the ringtone still outputs via the built-in speaker.
That seems wrong - if you have your headphones plugged in, you obviously are trying to keep sound private to yourself, but if you receive a call, audio in the headphones is cut off, and then the ringtone...