Changed new tile finding to directly assign tile rather than assigning tile id.