Issue #313 reset all dirty flag to false

Reset all dirty on before grid render.

(cherry picked from commit d5415b02c223747968b95a9649cecdf2129df01f)