BugFix: Check that the frame_pointer is a Proj(Barrier) before setting it to ignore