Character facing incorrect direction when moving

When I move the character, it does move in the correct direction, however, it’s facing the wrong way, like 20 degrees to the left of where he is supposed to move.

Here is the current logic I have for the movement, which isn’t working. All this is using a gamepad.