Fixes AI mouse shortcuts skipping turret control sanity checks

Fixes #4491