[[ Cocoa ]] Make sure the dirty region for a window is cleared after updating.
[[ Cocoa ]] Make sure we use 'displayIfNeeded' rather than 'display' - the latter causes a whole view update regardless of previous invalidation!