Fixed! I also edited the motorcycle. I moved all the motorcycle's costumes up 10 pixels so that the hitbox can detect the barriers.