 		{
 			// check if this tile has a cached shape
 			var cachedValue:ProjectedShape = _tileSRSToShapeCache.get(tile, getDestinationSRS());
-			if (cachedValue != null)
+			if (cachedValue)
 				return cachedValue;
 			
 			// we need to create the cached shape

					continue;
				
				// if there is no bitmap data, decide whether to continue or display missing image
				if (tile.bitmapData == null)
				{
					if (displayMissingImage.value == false)
						continue;
					
					tile.bitmapData = _missingImage.bitmapData;

		
		public function adjustZoomBounds(zoomBounds:ZoomBounds):void
		{
			if (!_service)
				return;
			
			var minScreenSize:int = Math.max(_service.getImageWidth(), _service.getImageHeight());
			zoomBounds.getDataBounds(_tempDataBounds);
			zoomBounds.getScreenBounds(_tempScreenBounds);
