I'm having some trouble on my end trying to re-create the situation at the moment. Creating a composition in adobe after effects and rendering+encoding it out from adobe media encoder.
Would you be able to provide more context or a minimal setup that you can send(wunkolo at gmail dot com) that recreates the situation?