Got stuck in the exact same place haha. Turns out if you barely touch the trap activator square near the top, you can keep touching the square without getting killed by the arrows. As long as you don't move off the square and it stays lit up it won't shoot again and you can move past.