fixing tile spacing bug.