[DF-2370] Fix invalid Rect::PointInside behaviour