yeah it did seem a bit buggy, just wasn't sure. I'm not sure how I'd post this on the tracker, you seem to have a better understanding of the problem than me.
edit: I tried using functions, which has better results. Although I think there must be a problem with retrieving the RBG coordinates.