fixed mouse offset selecting problem