Found out what the problem was. But do not know how to fix it.
r.AllowStaticLighting=False
r.AllowStaticLighting=True
Anyone have any suggestions on how to fix this? I need the Dynamic scene for AO and colors. But I also need the RVT.