Decrease rainbow width by 1 when dealing with windows