Disable RMB in combat to avoid an accidental target change.
You can still use RMB in combat by clicking twice on the object you wish.