code: private void applyHorizontalLimit()
      {
          if (mover.getX() < limitLeft && limitLeft != Integer.MIN_VALUE)
          {
              mover.teleportX(limitLeft);
          }
          else if (mover.getX() > limitRight && limitRight != Integer.MAX_VALUE)
          {
              mover.teleportX(limitRight);
          }
      }
docs: Fix location inside horizontal limit.