Changes right w.wrap condition to right rect side.