In .rectangle: return false for invalid inputs. Make nix stricter.