Configurations of points on degenerate varieties and properness of moduli spaces