title: CustomBadge rendering "grabage" around badge
body: <p>I am using the CustomBadge library discussed in this question: <a href="https://stackoverflow.com/questions/4722669/how-can-i-add-a-badge-to-a-standard-uibutton">How can I add a badge to a standard UIButton?</a></p>
  
  <p>Here is my code:</p>
  
  <pre><code>CustomBadge* customBadge = 
      [CustomBadge customBadgeWithString:@"$2.99"
                         withStringColor:[UIColor whiteColor]
                          withInsetColor:[UIColor redColor]
                          withBadgeFrame:YES
                     withBadgeFrameColor:[UIColor whiteColor]
                               withScale:1.0
                             withShining:NO];
   customBadge.frame = CGRectMake(self.btnUpgrade.frame.size.width - customBadge.frame.size.width + 15, -15, customBadge.frame.size.width, customBadge.frame.size.height);
  
  [self.btnUpgrade addSubview:customBadge];
  </code></pre>
  
  <p>I get what I'm expecting: <br/></p>
  
  <p><img src="https://i.stack.imgur.com/7JGZt.png" width="150" alt="CustomBadge"/></p>
  
  <p>I am using a NavigationController. When I segue into another ViewController and come back, my badge gets a "tail":</p>
  
  <p><img src="https://i.stack.imgur.com/GGNHb.png" width="150" alt="Bad CustomBadge"/></p>
  
  <p>If I get rid of the customBadge.frame line, the badge renders correctly (at the wrong position though).</p>
  
  <p>The code is executing on viewWillAppear:</p>
  
  <p>Any clue what might be causing this?</p>
  
  <p>The CustomBadge code is at: <a href="https://github.com/ckteebe/CustomBadge/blob/master/Classes/CustomBadge.m" rel="nofollow noreferrer">https://github.com/ckteebe/CustomBadge/blob/master/Classes/CustomBadge.m</a></p>