fix Selection bounds