Bug fixes for moving into check for white and black