Centering fixes

View was not centered correctly when the parent UIViewController was not positioned at 0,0.