fixed mouse-select wrapping

argh