Image node DOM state renderer
Adding proper DOM state invalidation using dirty flags