This happens from time to time: the enemy is able to shoot you but you're not without moving. I don't know how to reproduce it exactly, but it has happened many times. Usually this is not a big issue, but if you get trapped so that enemy can shoot you but you can't shoot back without moving a square it's annoying.