TmxMapObject creation modified