ensure orbs stay inside the puzzle grid on swap