[Engine] Fixed visual glitch with tile rendering.