Add error to Spritemap when frame dimensions are bigger than the image dimensions, Fix #325