Dean was ignoring the fact that there were goblins everywhere, just for a second. He was focused more on the fact that he could hear other things in the hallway, and trying to mentally prepare for what might come crashing through the doors. He was sort of on autopilot with these goblins.
They were pests.
He kept shooting, trying to flank them as best he could based on Mary's position.