Fix stacktrace order and frame visibility