correct colour corruption on older devices