Note on the stability of principal bundles