Paint bucket suddenly fills background transparency

that’s verical symmetry line - switch it off

the symmetry mode mirrors the use of paint bucket and what is most likely happening is that there’s empty space on the opposite side of where you clicked. hence the tool fills the area you’ve clicked on and the background.