The wrapping wasn't working properly, clearly, but I forgot about the previous pixel entirely. I'll add some more explicit tests for the previous pixel behavior. I think it's still broken for RGB and RGBA, because I'm dumb.