Minor fix to disallow negative coordinates