Use points var, don't try to recalculate in popup box, sometimes incorrectly - fixes #354