Fixed an issue where the dimensions of the sprite sheet where incorrect if the frame width was not initially set