Help with Steam Deck controls for Daybreak

I started playing Daybreak on my Steam Deck, and it runs perfectly. However, the controls get a bit weird during fights. Whenever I move my characters around, it also changes my attack target, and I can't use the d-pad to change attack targets. Does anyone know why this is happening and how I can fix it?