small fix to clear_dirty on Transform.