Disables swapping during transitions.