fix bug when tip amount is empty

Before this commit, if a user emptied the tip field then clicked off, they'd be greeted with `NaN`