Prevent unnecessary draws during image subset updating.

Properly-branched version of #343