Fix swapped msMiddle/msRight constants