A fix to randomly set possition