Fixed PaintingSwitch still being able to switch once even out of range.