compatibility with moviepy>2.x https://github.com/harry0703/MoneyPrinterTurbo/issues/535#issuecomment-2664736773