I think that you have to wait a frame until you can set the boundingbox but I am not sure why it works after c_setminmax...