fixed only drawing first tile line problem