added tile entity support to segments