Added collision detection between mobs and tiles