Fix frame pointer handling: