Fix a float/clear bug