Fix superView warnings in Layer::centerFrame.
Merge pull request #70 from tisho/tisho/fix-superview-warnings

Fix superView warnings in Layer::centerFrame.