fixing offset in avatar walking