Fixed (?) strange bug with tmx files