}
if (!Calculations.isOnScreen(entity.getCentralPoint())) {
synchronized (mouseLock) {
final Tile randTile = new Tile(loc.getX(), loc.getY(), loc.getPlane());
randTile.derive(Random.nextInt(-1, 2), Random.nextInt(-1, 2));
final LocalPath localPath = Walking.findPath(randTile.canReach() ? randTile : loc);
localPath.getNext();
final Tile[] tilePath = truncatePath(localPath.getTilePath().toArray(), 3);
(new TilePath(tilePath)).traverse();
}