Platform movement bug fix.