Fixed some basic movement problems that I introduced in f942bef.