final int height = anchor.getY() - location.getY();
final int width = overlay.getSize().getWidth();
overlay.setSize(new Size(width, height));
final int x = anchor.getX();
final int y = anchor.getY() - height;
overlay.setBounds(new Bounds(x, y, width, height));
overlay.markDamaged();
}