closed #4744: EventDispatcher::setDirtyForNode doesn't consider node's children
closed #4744: Adds test for issue4744.
Merge pull request #6214 from dumganhar/iss4744-set-dirty-for-node

closed #4744: EventDispatcher::setDirtyForNode doesn't consider node's children