Adding removeItemsNotInRectangle function.