 							y = componentBounds.y;
 							break;
 					}
-					var adjustedPosition:Point = getAdjustedPositionVertically(popUp, new Point(x, y));
+					adjustedPosition = getAdjustedPositionVertically(popUp, new Point(x, y));
 					x = adjustedPosition.x;
 					y = adjustedPosition.y;
 					break;

			var componentBounds:Rectangle = inputField.getBounds(inputField.stage);
			
			var x:Number, y:Number;
			switch(position) {
				case POSITION_RIGHT:
					x = componentBounds.x + inputField.width;

							break;
					}
					y = componentBounds.y - popUp.height;
					adjustedPosition = getAdjustedPositionHorizontally(popUp, new Point(x, y));
					x = adjustedPosition.x;
					y = adjustedPosition.y;
					break;
