Gave up on tile algorithm, no more buggy drawing