Issues with bullet spread in my game

Hi so I am having issue with bullet spread for the projectiles in my game where if you look straight up in the sky, the spread gets messed up and only goes in a straight line. Any thoughts on how to fix something like this? I also have an image reference of my code and the spread.