fixed yet another BGR->RGB inversion bug