Toggle options related to timeline and grid, and also toggle Snap to Grid. This should work. If not then you can try reinstalling the application.
I am unable to work on Garageband with for a while now as I have a windows pc for a couple of days, and I didn’t have any luck finding a way to run it on windows. Any suggestions for the same?