Fix map context adding of an internal WMS layer