Fixed some bugs in method invocation with floats parameters