The homing attack disables in two occasions: when it hits something, or after a certain amount of time if it can't hit anything. As a defeated boss cannot be hit any longer, that is the result.
I never saw it as an issue, but I'll add a disable the homing attack event as a boss is defeated to prevent the floating from happening.