It seems to happen when I enter a new area (medbay, computer center etc), when there's multiple enemies on the screen, or when I'm firing one of the new fancy weapons, basically whenever a lot is happening. But it also sometimes happens randomly when I'm going through an empty corridor.