Fixed some tile set decoding functions