That seems to have fixed it. I didn't think about that. I had set the minimum to (1,1) to prevent from reaching memory in front of the vector but didn't think about it in the sense of after the vector.
Thank you and everyone else who assisted with this. Now I can clean this code up and finally move on to actually making this into a game.