fixed bugs with the bullets not updating properly and rendering all the time, caused by the previous commit