In your example code, you are only moving it a single pixel down. Is that your intent? I can’t say what the problem is without a more complete example, but playing with pixelOffset in Sandcastle shows that it works as expected.
Which doc are you referring too? It’s possible there’s a bug in the doc and if so we’d like to fix it.