> Is this a bug?
No, but it's a common trap. Every buffer has as many "points" as it has
windows displaying it (plus one for the buffer itself).
So if you want to move point in a specific window, you need to either
select the window before moving, or use `set-window-point'.