Fix an uncaught exception when loading a TMX map with an empty object layer
Merge branch '2.0.x'