Fix dirty bit for StaticPlaceholder

When a plugin is moved to / from a StaticPlaceholder, the dirty bit is not set correctly in the target placeholder, thus making impossible to publish it