Fix stack frame parsing