RPS and RPSS fixes to make it work after downscaling

in 7 minutes and 38 seconds, using 0 compute credits, and was queued for 2 seconds