fixing sprite error (need to keep width and height the same)