fixed units not deactivating after move