Fix some tile issues in the GMX writer.