A typical AI has a white line designating the horizon. It looks a lot like
the white line designating the aircraft on the TC. So if you look hurriedly
from the TC to the AI, you might construe the AI's white line the same way
as the TC's, in which case the TC's turn will seem opposite the AI's bank.
Hoods usually leave you with some peripheral-vision cues as to your
orientation (or at least as to whether your orientation is changing).
Maintaining your aircraft's attitude in IMC, without those cues, is a harder
task to which you're less accustomed. Anything that makes flying hard also
promotes all sorts of errors, including the perceptual error you noticed.
Just practice more in IMC.

--Gary