Whoops. ptMaxPosition.X shouldbe +=2 and not just =2