Disable transition effect when entering or leaving game pause.