Fixed issue where 'centerInView:' wasn't always using the correct superview
Merge pull request #24 from liamnichols/master

Fixed issue where 'centerInView:' wasn't always using the correct superview