Remove needless current state copy
If nothing has been committed to the cached state, no changes to the current state will be done.
If a synchronized sub-surface has been committed, the pending state will be merged with the cached state. The latter state will be applied when the parent surface is committed.