They really should have an option that you can check for dismounting when performing an action.