I couldn't fix it, but the problem doesn't show up in standalone builds, so I'll leave it like that for now. Again thank you for your help !