before resetting the bird and making it move, it now checks that the bird has already been stopped. If it hasn't been stopped yet, it removes the stopping action. This ensures that the stopping action never runs after the "make it move" action.

Otherwise, there was this synchronization bug where the "action to stop the bird" would be created, the bird would be made to move and after this the "action to stop the bird" actually got executed. So it resulted in the bird no longer "moving", meaning it's wings weren't flapping.