replaced assertion in CommonState l 255 to prevent rect selection from exploding