Fix float casting of FloatProperty