"R" becomes unresponsive when F1 is active while moving around in battle.

Summary

The button to switch from active batting to moving around in battle becomes unresponsive if F1 is pressed while moving around in battle.

Steps to reproduce

Start a battle and press R to move around. After doing so, press F1. Press R once more, and now R will now become unresponsive.

What is the current bug behavior?

R doesn't work when UI is hidden.

What is the expected correct behavior?

Should either still work, or prevent R from working at all while UI is hidden to prevent players from returning to battle with no UI.

Cobblemon Version and Mod Loader

Fabric, Cobblemon-fabric-1.6.0+1.21.1-main- bde2e5ba

Mods used besides Cobblemon

Cicada lib, DABR, Iris, Sodium.