Fix tile marker crash

http://openeye.openmods.info/crashes/cdcfcdde220cdc725e20f5ab62020597