Ok I've uploaded my current version. I've been trying to fix this stupid problem and I cannot figure out the source of the problem. If you run it as is the yellow block works as it should but if you comment the lines that are noted as such then it starts jittering. I split it into two blocks to figure out why it might be jittering but to no avail.

(log in to comment)


Actually I think the problem may be a delay in the updating of the rect. Whoops.