public void HideOverlapLayer(int pos) {
		if (OverlapShow) {	
			if ((OverlapFlags == Center && pos != Center) ||
			    (OverlapFlags != Center && pos == Center)) {	
				Invalidate(Position[OverlapFlags]);
				OverlapFlags = None;
				OverlapBounds.setRect(0, 0, 0, 0);
			}
		}
		OverlapFlags &= ~pos;
		OverlapBounds = Position[OverlapFlags];
		if (OverlapFlags == None)
			OverlapShow = false;
		Invalidate(Position[pos]);
	}