update rect nonzero method for conciseness
updated display.update to properly handle clipping