Fix /walk and /fly type conversion bug