Fixed issue of not correctly populating arguments for a function pointer invocation.