Add offset to automatic_face_movement_dir

This is especially needed for upright_sprite, since without an offset it always moves "sideways".
Also includes the fix from #879.