Dirty flag fix

Dirty flag moved to base
Messages will be resent when a scene is flagged as dirty