 							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;

							break;
					}
					y = componentBounds.y + inputField.height;
					var adjustedPosition:Point = getAdjustedPositionHorizontally(popUp, new Point(x, y));
					x = adjustedPosition.x;
					y = adjustedPosition.y;
					break;

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