Clean red/selection rect when changing PDF #138