Nick noticed that it was legal to enter 0 as a coordinate; fixed.