Added validity check for coordinate tile based entities.