mouse selection and scale factor