Fix invalid memory access in input config views