Fix bug #9874 where MRWs showed in purple
As it turns out the 270cw rotation was wrong. Made the code more explicit as to what it is doing with the three flip bits.
Merge pull request #508 from pedrocr/fix-purple-mrw

Fix bug #9874 where MRWs showed in purple