just watch, and wait for it to hit the corner
the corner hitbox isn't exact so expect to get a corner when you hit the wall twice sometimes.