fix multiple tile layer drawing bug.
merging.