This version fixes miss detection recognizing a short white line reaching any edge as an edge and cutting the game screen at that point.
ふちまで届く短い白い線を辺として認識して、ゲーム画面を途中で切ってしまうのが直ります。
https://gyazo.com/830f4167aec53977dfcc4de315faf7e3