I noticed the same problem. I got to watch the exact same check happen a dozen times with the exact same delays in movement cycling between a rook and a king. Otherwise, this looks great.
and I still have no idea why it happens. like White should keep the bishop there. as it blocks a king move.