Membership creates two invoices on registration

Using PayPal Standard gateway for recurring membership, but when in Live mode and using coupon, the registration process generates two invoices(paid and draft) for the same payment.

If in sandbox mode it seems to process properly. While PayPal Single gateway works fine both live and sandbox mode.