I think the problem may be that you are focusing on world direction. Watch this video I just did the other day and although my needs are different than yours, it should help you figure out another and possibly better way to setup your movements. I only show the “forward” movement in this video but the left/right will be similar in nature. I’ll probably have the video for the lateral movements up in a few days if you need to see that one but this one should help regardless.
PS did you make that rat character yourself?