Fix bug with somehow being stalemated by own piece