Fix space state change.