This method is called during interactive dragging and resizing (of the currently selected snips; see find-next-selected-snip) to preprocess the current mouse position (in buffer coordinates). The snip and actual x and y coordinates are passed into the method (boxed); the resulting coordinates are used instead of the actual mouse position.
See also interactive-adjust-resize.
A negative value for either x or y is replaced with 0.