Removed potential infinite loop in dice.OpenPos