Fix the access violation read assert, at last! Credits to @Steef435!