Fix weirdness with x domain. Closes #101.