Removed second frame and moved button into board panel.
fixed king in check