-Added back bgr fix, since dx still consider bgr as valid whereas it's not.