Drag the point inside the rectangle
To work in Integers first select "View-->Grid", then select "Options-->Point Capturing-->Fixed to Grid"
Created with GeoGebra