Prevent content duplication when using [css|js|html]To[Head|Bottom] ...

...output filters that call modX.regClient*

This PR addresses #10145