Changed around how tiles are rendered to be (probably?) faster.