When using the same message banner on several components of the page, they need to be isolated correctly so that JSF component ids are not dupplicated (see fixes for NXP-6227).
However, when several messages appear, the javascript code that hides the message after a few seconds only has an effect on the first one found.
Improving the javascript code could be enough, but it would be better to set a unique div id when including the message banner template, that would default to an empty string.