Fix crash cross bg patch