Changed translate to moveposition