Change the float container method to fix #237