Removes unnecessary spaces in generated spritesets