Trigger CornerstoneImageRendered after resetting render flags.
Trigger CornerstoneImageRendered after resetting render flags.

It makes more sense to trigger CornerstoneImageRendered after
the invalid and needsRedraw flags have been reset in case any
event handler needs to trigger another rendering pass.

adreyfus/cornerstone,cornerstonejs/cornerstone,adreyfus/cornerstone,google/cornerstone,chafey/cornerstone,cornerstonejs/cornerstone,cornerstonejs/cornerstone,swederik/cornerstone,cornerstonejs/cornerstone,google/cornerstone,adreyfus/cornerstone,swederik/cornerstone,chafey/cornerstone