fix getRewardCubePositition bug for new object