Fixed bug when using Storyboard or NIBS

initwithFrame is not called when created from a NIB or Storyboard so
needed to add the initialisation code to initWithCoder too.