fix astinvad red screen flashing