@Override
  protected void updateShape() {
    getRectangularShape().setFrameFromDiagonal(topLeft.getPosition(), bottomRight.getPosition());

    // call super method after shape has been updated
    super.updateShape();
  }