To be honest, I don't know what the problem is. But I think a solution to this problem and to make your game harder (it's a bit easy), you could add a cool down between each continuous 5 (or so) seconds of shooting. Also, I think it's a sound problem. For me, only the sound gets weird and glitchy.