Fix superView warnings in Layer::centerFrame.