Fixed bug with image size that crashed the game