Fixed weird moving platform collision bug