Bug: had x and y swapped in an important place

That was me.  Sorry.