Fix an uncaught exception when loading a TMX map with an empty object layer