Fixed isInside(...)