Fixes a bug in latest movement update.