Fixed issue with overriding COM methods with different calling conventions