Fixed a bug in OverlayLibrary.AddOverlay