fixed PNG gradient export bug