Currently, there is a discussion at https://github.com/retropie/RetroPie-Setup/issues/155 that discusses this issue. If the ideas presented there turn out to be reliable I would go and modify the RetroPie Script accordingly.
Reply To: Force composite out