Maybe add a random value to the ball.y when the ball.y before impact is the same after impact with a wall, if you get my drift.
I seem to remember such games as Arkanoid would sometimes do the same but would then veer off after a certain number of bounces.
Good idea...I just added the following and it works ok:
+ ball5: On collision between ball5 and wall
+ ball5: Angle Less than 14
+ ball5: Angle Greater than 346
-> ball5: Set angle to ball5.Angle-20
+ ball5: On collision between ball5 and wall
+ ball5: Angle Less than 194
+ ball5: Angle Greater than 166
-> ball5: Set angle to ball5.Angle-20
Thanks zenox98