Fix several wall input bugs