Hi, welcome to the forums!
This is a typical case of a loose pulley. Shouldn't be too hard to fix.
I think it is always leaning towards the same side?
Find the pulley involved which is involved with that movement and make sure the setscrew inside is nice and tight. Here are some instructions if you need any
Link to post
Share on other sites