Fix flags moving on their own, display problems with bad board