What are your troop orders at? Current AI cant send troops at the same time as firing weapons, so if you set your troops to go out in the start of battle that may be the case
I found the game also has a glitch with 3 shilds or more. Its like it cant decide what to do till your castle gets hit. Dropped the 2 sheilds problem went away.