Fixed a few NPE with TileNode