Walk / stop wall

i want to make a maze game, where you move this ball around through a maze, but for some reason the way i set up the hit test / walls doesn’t seem to work right, i posted a basic example of what i mean, i have two problems:

  1. one wall doesn’t work
  2. you can get through the working one by pressing left and down at the same time.