TileMap tries autocompleting the sides of each tile

4.2.1

Hello
I am trying to make a tilemap but my problem is that it somehow keeps trying to anticipate the next tile I’m going to place. For instance here I first clicked on 1 and then on 2 but it automatically places a new tile on the right. Also, from what I’ve seen on tutorials, 1 should have changed when I placed 2 anyway but it doesn’t seem to do it, I have to click on 1 again to refresh it.
Here is how I set up my bitmasks, I am very new to this so I don’t know if it could be related or not

Edit : It was indeed because of my bitmasks. Sorry for the inconvenience