Fixed another problem with paint clipping

"fix" introduced in 51ff35 was deceptive; this rectifies it