Bug fix for king and rook being able to attack their own pieces